aboutsummaryrefslogtreecommitdiff
path: root/src/routes/user/[user]/+page.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/user/[user]/+page.svelte')
-rw-r--r--src/routes/user/[user]/+page.svelte22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index 0cfe05fd..7f33f170 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -360,7 +360,7 @@
<input
type="checkbox"
- on:change={() => {
+ onchange={() => {
if (userData) toggleHideMissingBadgesQuery.mutate(null).then();
}}
checked={preferences.hide_missing_badges}
@@ -372,7 +372,7 @@
<input
type="checkbox"
- on:change={() => {
+ onchange={() => {
if (userData) toggleHideAWCBadgesQuery.mutate(null).then();
}}
checked={preferences.hide_awc_badges}
@@ -388,11 +388,11 @@
<div
class="card card-small pinned-category"
draggable="true"
- on:dragstart={(event) => handleDragStart(event, category)}
- on:dragover={handleDragOver}
- on:dragenter={(event) => handleDragEnter(event, category)}
- on:dragleave={(event) => handleDragLeave(event, category)}
- on:drop={handleDrop}
+ ondragstart={(event) => handleDragStart(event, category)}
+ ondragover={handleDragOver}
+ ondragenter={(event) => handleDragEnter(event, category)}
+ ondragleave={(event) => handleDragLeave(event, category)}
+ ondrop={handleDrop}
role="button"
tabindex="0"
>
@@ -401,7 +401,7 @@
</span>
<button
- on:click={() => {
+ onclick={() => {
if (userData) toggleCategoryQuery.mutate({ category }).then();
}}>Remove</button
>
@@ -413,7 +413,7 @@
<input type="text" id="category" placeholder="Category" style="width: 10em;" />
</span>
- <button class="button-lined" on:click={toggleCategory}>Add</button>
+ <button class="button-lined" onclick={toggleCategory}>Add</button>
</span>
</div>
@@ -422,7 +422,7 @@
Biography
<button
- on:click={() => {
+ onclick={() => {
if (userData)
setBiographyQuery
.mutate({
@@ -444,7 +444,7 @@
Badge Wall Custom CSS
<button
- on:click={() => {
+ onclick={() => {
if (userData)
setBadgeWallCSSQuery
.mutate({